package com.intelligentcar.springboot.service.serverImpl;

import com.intelligentcar.springboot.bean.Driverinfo;
import com.intelligentcar.springboot.mapper.DriverinfoMapper;
import com.intelligentcar.springboot.service.DriverinfoServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DriverinfoServerImpl implements DriverinfoServer {
    //查询所有司机
    @Override
    public List<Driverinfo> Driverinfo() {
        return driverinfoMapper.Driverinfo();
    }

    @Autowired
    private DriverinfoMapper driverinfoMapper;
}
